package cn.com.coding.system.service.impl;

import cn.com.coding.common.utils.PageUtil;
import cn.com.coding.common.utils.Query;
import cn.com.coding.system.dao.ProductAnalyseDao;
import cn.com.coding.system.domin.ProductAnalyseEntity;
import cn.com.coding.system.domin.SysUserRoleEntity;
import cn.com.coding.system.service.ProductAnalyseService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Map;


/**
 * @author inke219223m
 */
@Service("productAnalyseService")
public class ProductAnalyseServiceImpl extends ServiceImpl<ProductAnalyseDao, ProductAnalyseEntity> implements ProductAnalyseService {

    @Override
    public PageUtil queryPage(Map<String, Object> params) {
        IPage<ProductAnalyseEntity> page = this.page(new Query<ProductAnalyseEntity>().getPage(params), new QueryWrapper<ProductAnalyseEntity>());

        return new PageUtil(page);
    }
}